import { BaseShape } from './BaseShape';
import { IType } from './IShape';
import { IBorderStyle, IColor } from './IStage';
export class RectShape extends BaseShape {
  /* 背景颜色 */
  bgcolor: IColor;

  /* 边框颜色 */
  borderColor: IColor;

  /* 边框类型 */
  borderStyle: IBorderStyle;

  constructor() {
    super(IType.RECT);
    this.bgcolor = IColor.WHITE;
    this.borderColor = IColor.BLACK;
    this.borderStyle = IBorderStyle.SOLID;
    this.icon = 'square';
    this.hasBorder = true;
  }
}
